package com.m4f.business.model;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Document implements Serializable {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
	
	@Persistent
	private String googleDocsId;
	
	@Persistent
	private Company company;
	
	public Key getKey() {
		return key;
	}
	
	public String getGoogleDocsId() {
		return this.googleDocsId;
	}
	
	public void setGoogleDocsId(String docsId) {
		this.googleDocsId = docsId;
	}
	
	public Company getCompany() {
		return this.company;
	}
	
	public void setCompany(Company comp) {
		this.company = comp;
	}

	
}